package model;

import ds.MyStack;

public class UndoStack {
    private MyStack stack = new MyStack();

    public void push(int row, int col) {
        stack.push(new int[]{row, col});
    }

    public int[] pop() {
        return stack.pop();
    }

    public boolean isEmpty() {
        return stack.isEmpty();
    }

    public MyStack getStack() {
        return stack;
    }
} 